package com.construct.adapter;

import com.Logger;

/**
 * 适配器模式【对象配器模式】
 * 
 * @author zincredible
 * @date 2019/01/15 14:08:53
 */
public class AdapterForObject implements ITarget {

	private Source source;

	public AdapterForObject(Source source) {
		super();
		this.source = source;
	}

	public void test1() {
		source.test1();

	}

	public void test2() {
		Logger.info("this is test2()");

	}

}
